package com.business.service;

import java.util.List;
import org.apache.log4j.Logger;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.business.mapper.T_company_userMapper;
import com.business.domain.T_company_user;

@Service("t_company_userService")
@Transactional
public class T_company_userService{
	private static Logger log = Logger.getLogger(T_company_userService.class.getName());

	@Resource
    private T_company_userMapper t_company_userMapper;


	public int save(T_company_user obj){
		 return t_company_userMapper.save(obj);
	}

	public int update(T_company_user obj){
		return t_company_userMapper.update(obj);
	}

	public int delete(T_company_user obj){
		return t_company_userMapper.delete(obj);
	}

	public T_company_user findById(T_company_user obj){
		return t_company_userMapper.findById(obj);
	}

	public List findAll(T_company_user obj ){
		 return t_company_userMapper.findAll(obj);
	}

	public int findCountAll(T_company_user obj ){
		 return t_company_userMapper.findCountAll(obj);
	}
	public int passwdupdate(T_company_user obj){
		return t_company_userMapper.passwdupdate(obj);
	} 
}
